import request from '@/utils/request'

// 保存菜单配置
export const saveMenuConfigAPI = (data) => {
	return request({
		url: '/glm/menu/config/saveMenuConfig',
		method: 'POST',
		data
	})
}
// 获取菜单配置
export const getMenuConfigAPI = (params) => {
	return request({
		url: '/glm/menu/config/getMenuConfig',
		method: 'POST',
		headers: { repeatSubmit: false },
		params
	})
}
